package com.jeesite.modules.pt.entity;

import javax.validation.constraints.Size;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 设置教程Entity
 * @author 李寒冰
 * @version 2025-04-07
 */
@Table(name="pt_shichang", alias="a", label="设置教程信息", columns={
		@Column(name="id", attrName="id", label="id", isPK=true),
		@Column(name="pingtai", attrName="pingtai", label="平台名称"),
		@Column(name="content", attrName="content", label="图文"),
	}, orderBy="a.id DESC"
)
public class PtShichang extends DataEntity<PtShichang> {
	
	private static final long serialVersionUID = 1L;
	private String pingtai;		// 平台名称
	private String content;		// 图文

	public PtShichang() {
		this(null);
	}
	
	public PtShichang(String id){
		super(id);
	}
	
	@Size(min=0, max=255, message="平台名称长度不能超过 255 个字符")
	public String getPingtai() {
		return pingtai;
	}

	public void setPingtai(String pingtai) {
		this.pingtai = pingtai;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}